package com.ruoyi.device.mapper;

import com.ruoyi.device.domain.DeviceAlarmHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.device.domain.req.alarm.AlarmHistoryEditReq;
import org.apache.ibatis.annotations.Param;

/**
* @author 11452
* @description 针对表【device_alarm_history(设备报警历史表)】的数据库操作Mapper
* @createDate 2023-12-07 14:16:31
* @Entity com.ruoyi.device.domain.DeviceAlarmHistory
*/
public interface DeviceAlarmHistoryMapper extends BaseMapper<DeviceAlarmHistory> {

    /**
     * 查询未处理的数据
     * @param req
     * @return
     */
    DeviceAlarmHistory searchNoHandlerHistory(@Param(value = "req") AlarmHistoryEditReq req);
}




